<template>
  <el-container>
    <el-main>
      <div class="page-main-body-box">
        <div class="meedu-main-body">
          <div class="back-bar-box mb-30">
            <div class="btn-back" @click="goBack">
              <i class="el-icon-back"></i> 返回
            </div>
            <div class="line"></div>
            <div class="name">优惠码批量导入</div>
          </div>
          <div class="user-import-box">
            <div class="float-left d-flex mb-15">
              <el-button type="primary">选择Excel表格文件</el-button>
              <el-link type="primary" class="ml-30" href="https://www.yuque.com/meedu/fvvkbf/lpwsry" target="_blank">点击链接下载「课时批量导入模板」</el-link>
            </div>
            <div class="float-left">
              <div style="display: none">
                <form>
                  <input type="file" />
                </form>
              </div>
            </div>
          </div>
        </div>
      </div>
    </el-main>
  </el-container>
</template>

<script>
export default {
  methods: {
    goBack() {
      this.$router.go(-1)
    }
  }
}
</script>

<style lang="scss" scoped>
.el-main {
  padding: 20px 6px 20px 20px;
  background-color: #f1f2f9;
  .page-main-body-box {
    flex: 1;
    overflow-y: auto;
    .meedu-main-body {
      width: 100%;
      height: auto;
      float: left;
      background-color: #fff;
      box-sizing: border-box;
      padding: 30px;
      border-radius: 15px;
      margin-bottom: 90px;
      box-shadow: 0 2px 4px 0 hsl(0deg 0% 40% / 5%);
      min-width: 1180px;
      .back-bar-box.mb-30 {
        width: 100%;
        height: auto;
        float: left;
        margin-bottom: 30px;
        display: flex;
        align-items: center;
        .btn-back {
          font-size: 14px;
          font-weight: 400;
          color: #333;
          cursor: pointer;
          i.el-icon-back {
            font-family: element-icons !important;
            font-style: normal;
            font-weight: 400;
            font-variant: normal;
            text-transform: none;
            line-height: 1;
            vertical-align: baseline;
            display: inline-block;
            -webkit-font-smoothing: antialiased;
          }
        }
        .line {
          width: 1px;
          height: 14px;
          background-color: #d8d8d8;
          margin-right: 15px;
          margin-left: 15px;
        }
        .name {
          font-size: 14px;
          font-weight: 600;
          color: #333;
        }
      }
      .user-import-box {
        width: 100%;
        height: auto;
        float: left;
        box-sizing: border-box;
        padding: 30px 100px;
        border-radius: 15px;
        background-color: #fff;
        .float-left.d-flex.mb-15 {
          display: flex;
          align-items: center;
          margin-bottom: 15px;
          width: 100%;
          height: auto;
          float: left;

          .ml-30 {
            margin-left: 30px;
            .el-link.el-link--primary {
              font-weight: 400;
            }
          }
        }
        .float-left {
          width: 100%;
          height: auto;
          float: left;
          div {
            display: none;
          }
        }
      }
    }
  }
}
</style>